package com.jic.member.service.power;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.member.entity.power.MegradeRule;

import java.lang.Long;
import java.util.List;


/**
* 会员等级权益关联表
* @author : 
* @email : 
* @since : 2020-04-04 10:45:04
* @version : v1.0.0
*/
public interface MegradeRuleService {

    long insert(MegradeRule megradeRule);

    long delete(Long id);

    long update(MegradeRule megradeRule);

    MegradeRule queryByPrimaryKey(Long id);

    List<MegradeRule> query(MegradeRule megradeRule);

    PageResult<MegradeRule> queryPage(MegradeRule megradeRule, Page pageQuery);

    PageResult<MegradeRule> queryPageForLook(MegradeRule megradeRule, Page pageQuery);

    PageResult<MegradeRule> queryMegradeRuleSimple(MegradeRule memberRequest);
}